import java.util.Scanner;

// Press Shift twice to open the Search Everywhere dialog and type `show whitespaces`,
// then press Enter. You can now see whitespace characters in your code.
public class Main {
    public static void main(String[] args) {
        int [] a = {1,2,3,4,5,6};
        int i;

        int sum=0;

        for(i=0;i<6;i++)
        {
            System.out.printf("%d",a[i]);
            System.out.print(" ");
            sum++;
        }
        System.out.println("数组个数为:"+sum);








    }
}